package cn.edu.njpi.mapper;

import cn.edu.njpi.model.TCollage;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TCollageMapper {
    int deleteByPrimaryKey(Integer collageId);

    int insert(TCollage record);

    int insertSelective(TCollage record);

    TCollage selectByPrimaryKey(Integer collageId);

    int updateByPrimaryKeySelective(TCollage record);

    int updateByPrimaryKey(TCollage record);

    List<TCollage> getAllCollage();

    List<TCollage> selectByStudentId(Integer schoolId);

    TCollage selectByStudentIdAndCollageName(TCollage tCollage);
}